﻿package Part_2_work;

public class A_WeekTest {
	public void doWhat(A_Week day){
		switch(day){
		case MON:
		case TUE:
		case WED:
		case THU:
		case FRI:
			System.out.println("工作日，努力写代码!");
			break;
		case SAT:
		case SUN:
			System.out.println("星期六，休息!看电影!");
			break;
		default:
			System.out.println("一周只有7天！");
		}
	}
	public static void main(String[] args) {
		A_WeekTest wt = new A_WeekTest();
		wt.doWhat(A_Week.WED);
	}
}
